package com.suineg.pms.repository.commons;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.suineg.pms.entity.commons.SystemParameter;

/**
 *
 *@author Suine
 */
public interface SystemParameterDao extends PagingAndSortingRepository<SystemParameter,Long>,JpaSpecificationExecutor<SystemParameter>{

	List<SystemParameter> findByCode(String code);
	
	List<SystemParameter> findByName(String name);
}

